package com.handydata.antifraud.vo.datatransfer;

import java.io.Serializable;
import java.nio.charset.Charset;

import org.springframework.util.Base64Utils;

import lombok.Builder;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@Builder
public class ShbankPushDataResVO implements Serializable{
	
	private static final long serialVersionUID = 1L;
	
	private String shortCode;
	private String respCode;
	private String respMsg;
	
	public String toString() {
		return shortCode.concat("|").concat(respCode).concat("|").concat(Base64Utils.encodeToString(respMsg.getBytes(Charset.defaultCharset())));
	}
	
}
